package com.movitech.mobile.cz.base.supplier.service.impl;

import com.movitech.mobile.cz.base.supplier.entity.SSuppliersModifiedHistory;
import com.movitech.mobile.cz.base.supplier.entity.ext.ExtSSuppliersModifiedHistory;
import com.movitech.mobile.cz.base.supplier.mapper.SSuppliersModifiedHistoryMapper;
import com.movitech.mobile.cz.base.supplier.mapper.ext.ExtSSuppliersModifiedHistoryMapper;
import com.movitech.mobile.cz.base.supplier.service.SSuppliersModifiedHistoryService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * <p>
 * 供方变更历史 服务实现类
 * </p>
 *
 * @author Movitech Mobile
 * @since 2018-02-28
 */
@Service("sSuppliersModifiedHistoryService")
@Transactional
public class SSuppliersModifiedHistoryServiceImpl extends ServiceImpl<SSuppliersModifiedHistoryMapper, SSuppliersModifiedHistory> implements SSuppliersModifiedHistoryService {

    @Autowired
    private ExtSSuppliersModifiedHistoryMapper extSSuppliersModifiedHistoryMapper;

    @Override
    public List<ExtSSuppliersModifiedHistory> getListBySupplerId(String suppliersId) {
        List<ExtSSuppliersModifiedHistory> ls=extSSuppliersModifiedHistoryMapper.getListBySupplerId(suppliersId);
        return ls;
    }
}
